#!/bin/sh

# zipme -- make a bzip2'd tar archive of ~/src/lsof4

cd $HOME/src/lsof4
V=$(sed '/VN/s/.ds VN \(.*\)/\1/' $HOME/src/lsof4/version)
if test $? -ne 0
then
  echo $V
  exit 1
fi
cd ..
T=lsof${V}.tar.bz2
rm -f $T
tar cf - lsof4 | bzip2 -c > $T
ls -l $T
